import { createRouter, createWebHistory } from 'vue-router'
import Login from '../views/Login'
import Index from '../views/Index'
import Home from '../views/Home'
const routes = [
  {
    path: '/',
    name: 'Login',  
    component: Login
  },
  {
    path: '/Index',
    name: 'Index',  
    component: Index
  },
  {
    path: '/Home',
    name: 'Home',  
    component: Home
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
